import { ApiProperty } from '@midwayjs/swagger';

export class ApplyBill {
  @ApiProperty({ example: 0 })
  id: number;
  @ApiProperty({ example: '张三' })
  name: string;
  @ApiProperty({ example: '日照学院' })
  collage: string;
  @ApiProperty({ example: '市镇府' })
  company;
  @ApiProperty({ example: '保安' })
  job;
}
// 实体类 entity 开放4+1 接口；
// data transfer object
export class ApplyBillSubmitDto {
  @ApiProperty({ example: '市镇府' })
  company;
  @ApiProperty({ example: '保安' })
  job;
}
